home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / datamodl.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  2.2 KB  |  68 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'DataModl.pas' rev: 3.00
  6.  
  7. #ifndef DataModlHPP
  8. #define DataModlHPP
  9. #include <DBTables.hpp>
  10. #include <Db.hpp>
  11. #include <Dialogs.hpp>
  12. #include <Forms.hpp>
  13. #include <Controls.hpp>
  14. #include <Graphics.hpp>
  15. #include <Classes.hpp>
  16. #include <SysUtils.hpp>
  17. #include <Messages.hpp>
  18. #include <Windows.hpp>
  19. #include <SysInit.hpp>
  20. #include <System.hpp>
  21.  
  22. //-- user supplied -----------------------------------------------------------
  23.  
  24. namespace Datamodl
  25. {
  26. //-- type declarations -------------------------------------------------------
  27. class DELPHICLASS TDataMod;
  28. class PASCALIMPLEMENTATION TDataMod : public Forms::TDataModule 
  29. {
  30.     typedef Forms::TDataModule inherited;
  31.     
  32. __published:
  33.     Dbtables::TTable* Table1;
  34.     Dbtables::TQuery* Query1;
  35.     Dbtables::TTable* Table2;
  36.     Dbtables::TQuery* Query2;
  37.     Db::TDataSource* DataSource1;
  38.     Db::TDataSource* DataSource2;
  39.     void __fastcall DataModuleCreate(System::TObject* Sender);
  40.     
  41. public:
  42.     bool MultiQuery;
  43.     bool CreateTable;
  44.     Classes::TMemoryStream* __fastcall CreateRes(const System::AnsiString ModuleName);
  45.     Classes::TMemoryStream* __fastcall CreateHdrSource(const System::AnsiString FilePath, const System::AnsiString 
  46.         FormName);
  47.     Classes::TMemoryStream* __fastcall CreateCppSource(const System::AnsiString FilePath, const System::AnsiString 
  48.         FormName);
  49.     Classes::TMemoryStream* __fastcall CreateSource(const System::AnsiString FilePath, const System::AnsiString 
  50.         FormName);
  51. public:
  52.     /* TDataModule.Create */ __fastcall virtual TDataMod(Classes::TComponent* AOwner) : Forms::TDataModule(
  53.         AOwner) { }
  54.     /* TDataModule.CreateNew */ __fastcall TDataMod(Classes::TComponent* AOwner, int Dummy) : Forms::TDataModule(
  55.         AOwner, Dummy) { }
  56.     /* TDataModule.Destroy */ __fastcall virtual ~TDataMod(void) { }
  57.     
  58. };
  59.  
  60. //-- var, const, procedure ---------------------------------------------------
  61.  
  62. }    /* namespace Datamodl */
  63. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  64. using namespace Datamodl;
  65. #endif
  66. //-- end unit ----------------------------------------------------------------
  67. #endif    // DataModl
  68.